#ifndef __CARD_APP_H__
#define __CARD_APP_H__

#include "stdint.h"

#define CARD_TOTAL		5

struct s_CardLIFO
{
	uint8_t valid;
	uint8_t cn_len;
	uint8_t cn[8];
};

//This Func Need 10ms Irq For dely
struct s_CardRead_Machine
{
uint8_t State;
uint8_t dely;
uint8_t Active;
};

extern struct s_CardLIFO CARDLIFO[CARD_TOTAL];

extern uint8_t Card_Read(void);

extern uint8_t Card_Is_Active(void);

extern void Card_En_Active(void);

extern void Card_Un_Active(void);

extern void Card_Write(void);

extern void FM17550_Read_Card(void);

#endif //__APP_H__
